﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Umbrella.Whs;

namespace Umbrella.Whs.SharePoint
{
    public sealed class RunStsAdm : RunProcessLogged
    {
        private static string GetStsAdmExe()
        {
            var im = new InstallationManager();

            return Path.Combine(im.SharePointInstallPath, @"bin\stsadm.exe");
        }

        public RunStsAdm(string arguments)
            : base(GetStsAdmExe(), arguments, null)
        {


        }
    }
}
